package com.sdut.material.service;

import com.sdut.material.pojo.Production;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdut.material.util.JSONResult;
import com.sdut.material.util.LayUITableResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yu
 * @since 2022-04-20
 */
public interface IProductionService extends IService<Production> {

    JSONResult selectAllProductions();

    LayUITableResult selectByPage(Long page, Long limit);

    JSONResult insert(Production production);


    Production selectById(Integer productionId);

    void updateProduction(Production production);

    void deleteById(Integer productionId);
}
